#ifndef FEATUREDELEGATE_H
#define FEATUREDELEGATE_H

#include <QStyledItemDelegate>

class FeatureDelegate : public QStyledItemDelegate
{
    Q_OBJECT
public:
    explicit FeatureDelegate(QObject *parent = 0);

    virtual QWidget* createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
    virtual void setEditorData(QWidget *editor, const QModelIndex &index) const;
    virtual void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;

    
};

#endif // FEATUREDELEGATE_H
